package com.mysafe.provision.persistence;

import java.util.List;
import javax.persistence.EntityManager;

public interface IDAO<T> {
	
	EntityManager getEntityManager();

	EntityManager getEntityManager(Integer idUser);

	void persist(Object entity);

	void merge(Object entity);

	T find();

	List<T> list();
}